# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main_window.ui'
#
# Created: Wed Feb 22 13:11:44 2012
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setWindowModality(QtCore.Qt.NonModal)
        MainWindow.resize(591, 456)
        MainWindow.setMinimumSize(QtCore.QSize(500, 250))
        MainWindow.setBaseSize(QtCore.QSize(500, 300))
        MainWindow.setAutoFillBackground(True)
        MainWindow.setTabShape(QtGui.QTabWidget.Rounded)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabs = QtGui.QTabWidget(self.centralwidget)
        self.tabs.setTabPosition(QtGui.QTabWidget.North)
        self.tabs.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabs.setElideMode(QtCore.Qt.ElideNone)
        self.tabs.setUsesScrollButtons(True)
        self.tabs.setObjectName(_fromUtf8("tabs"))
        self.connectionTab = QtGui.QWidget()
        self.connectionTab.setObjectName(_fromUtf8("connectionTab"))
        self.connectionButton = QtGui.QPushButton(self.connectionTab)
        self.connectionButton.setGeometry(QtCore.QRect(10, 130, 75, 23))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(8)
        font.setBold(False)
        font.setWeight(50)
        self.connectionButton.setFont(font)
        self.connectionButton.setObjectName(_fromUtf8("connectionButton"))
        self.gridLayoutWidget_2 = QtGui.QWidget(self.connectionTab)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(10, 20, 148, 56))
        self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2"))
        self.connectionGridLayout = QtGui.QGridLayout(self.gridLayoutWidget_2)
        self.connectionGridLayout.setMargin(0)
        self.connectionGridLayout.setObjectName(_fromUtf8("connectionGridLayout"))
        self.portLabel = QtGui.QLabel(self.gridLayoutWidget_2)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.portLabel.setFont(font)
        self.portLabel.setObjectName(_fromUtf8("portLabel"))
        self.connectionGridLayout.addWidget(self.portLabel, 0, 0, 1, 1)
        self.portComboBox = QtGui.QComboBox(self.gridLayoutWidget_2)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.portComboBox.setFont(font)
        self.portComboBox.setObjectName(_fromUtf8("portComboBox"))
        self.connectionGridLayout.addWidget(self.portComboBox, 0, 1, 1, 1)
        self.baudRateLabel = QtGui.QLabel(self.gridLayoutWidget_2)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.baudRateLabel.setFont(font)
        self.baudRateLabel.setObjectName(_fromUtf8("baudRateLabel"))
        self.connectionGridLayout.addWidget(self.baudRateLabel, 1, 0, 1, 1)
        self.baudRateComboBox = QtGui.QComboBox(self.gridLayoutWidget_2)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.baudRateComboBox.setFont(font)
        self.baudRateComboBox.setObjectName(_fromUtf8("baudRateComboBox"))
        self.connectionGridLayout.addWidget(self.baudRateComboBox, 1, 1, 1, 1)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/connection_fade.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/connection.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.tabs.addTab(self.connectionTab, icon, _fromUtf8(""))
        self.robotControllerTab = QtGui.QWidget()
        self.robotControllerTab.setObjectName(_fromUtf8("robotControllerTab"))
        self.layoutWidget = QtGui.QWidget(self.robotControllerTab)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 104, 112))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.directionVerticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.directionVerticalLayout.setMargin(0)
        self.directionVerticalLayout.setObjectName(_fromUtf8("directionVerticalLayout"))
        self.directionLabel = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        self.directionLabel.setFont(font)
        self.directionLabel.setTextFormat(QtCore.Qt.AutoText)
        self.directionLabel.setObjectName(_fromUtf8("directionLabel"))
        self.directionVerticalLayout.addWidget(self.directionLabel)
        self.directionGridLayout = QtGui.QGridLayout()
        self.directionGridLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.directionGridLayout.setObjectName(_fromUtf8("directionGridLayout"))
        self.rightButton = QtGui.QPushButton(self.layoutWidget)
        self.rightButton.setText(_fromUtf8(""))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/right_arrow.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.rightButton.setIcon(icon1)
        self.rightButton.setObjectName(_fromUtf8("rightButton"))
        self.directionGridLayout.addWidget(self.rightButton, 2, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.directionGridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.leftButton = QtGui.QPushButton(self.layoutWidget)
        self.leftButton.setText(_fromUtf8(""))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/left_arrow.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.leftButton.setIcon(icon2)
        self.leftButton.setObjectName(_fromUtf8("leftButton"))
        self.directionGridLayout.addWidget(self.leftButton, 2, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.directionGridLayout.addItem(spacerItem1, 3, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.directionGridLayout.addItem(spacerItem2, 3, 2, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.directionGridLayout.addItem(spacerItem3, 0, 0, 1, 1)
        self.upButton = QtGui.QPushButton(self.layoutWidget)
        self.upButton.setText(_fromUtf8(""))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/up_arrow.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.upButton.setIcon(icon3)
        self.upButton.setObjectName(_fromUtf8("upButton"))
        self.directionGridLayout.addWidget(self.upButton, 0, 1, 1, 1)
        self.downButton = QtGui.QPushButton(self.layoutWidget)
        self.downButton.setText(_fromUtf8(""))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/down_arrow.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.downButton.setIcon(icon4)
        self.downButton.setObjectName(_fromUtf8("downButton"))
        self.directionGridLayout.addWidget(self.downButton, 3, 1, 1, 1)
        self.stopButton = QtGui.QPushButton(self.layoutWidget)
        self.stopButton.setText(_fromUtf8(""))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/stop.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.stopButton.setIcon(icon5)
        self.stopButton.setObjectName(_fromUtf8("stopButton"))
        self.directionGridLayout.addWidget(self.stopButton, 2, 1, 1, 1)
        self.directionVerticalLayout.addLayout(self.directionGridLayout)
        self.layoutWidget1 = QtGui.QWidget(self.robotControllerTab)
        self.layoutWidget1.setGeometry(QtCore.QRect(180, 20, 71, 76))
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.speedVerticalLayout = QtGui.QVBoxLayout(self.layoutWidget1)
        self.speedVerticalLayout.setMargin(0)
        self.speedVerticalLayout.setObjectName(_fromUtf8("speedVerticalLayout"))
        self.speedLabel = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        self.speedLabel.setFont(font)
        self.speedLabel.setTextFormat(QtCore.Qt.AutoText)
        self.speedLabel.setObjectName(_fromUtf8("speedLabel"))
        self.speedVerticalLayout.addWidget(self.speedLabel)
        self.speedSlider = QtGui.QSlider(self.layoutWidget1)
        self.speedSlider.setMaximum(3)
        self.speedSlider.setPageStep(1)
        self.speedSlider.setSliderPosition(0)
        self.speedSlider.setOrientation(QtCore.Qt.Horizontal)
        self.speedSlider.setTickPosition(QtGui.QSlider.TicksBelow)
        self.speedSlider.setObjectName(_fromUtf8("speedSlider"))
        self.speedVerticalLayout.addWidget(self.speedSlider)
        self.speedHorizontalLayout = QtGui.QHBoxLayout()
        self.speedHorizontalLayout.setObjectName(_fromUtf8("speedHorizontalLayout"))
        self.speed0Label = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        self.speed0Label.setFont(font)
        self.speed0Label.setAlignment(QtCore.Qt.AlignCenter)
        self.speed0Label.setObjectName(_fromUtf8("speed0Label"))
        self.speedHorizontalLayout.addWidget(self.speed0Label)
        self.speed1Label = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        self.speed1Label.setFont(font)
        self.speed1Label.setAlignment(QtCore.Qt.AlignCenter)
        self.speed1Label.setObjectName(_fromUtf8("speed1Label"))
        self.speedHorizontalLayout.addWidget(self.speed1Label)
        self.speed2Label = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(9)
        self.speed2Label.setFont(font)
        self.speed2Label.setAlignment(QtCore.Qt.AlignCenter)
        self.speed2Label.setObjectName(_fromUtf8("speed2Label"))
        self.speedHorizontalLayout.addWidget(self.speed2Label)
        self.speed3Label = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(8)
        self.speed3Label.setFont(font)
        self.speed3Label.setAlignment(QtCore.Qt.AlignCenter)
        self.speed3Label.setObjectName(_fromUtf8("speed3Label"))
        self.speedHorizontalLayout.addWidget(self.speed3Label)
        self.speedVerticalLayout.addLayout(self.speedHorizontalLayout)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/mo_sprite_fade.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/mo_sprite.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.tabs.addTab(self.robotControllerTab, icon6, _fromUtf8(""))
        self.calibrationTab = QtGui.QWidget()
        self.calibrationTab.setObjectName(_fromUtf8("calibrationTab"))
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/calibrate_fade.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/calibrate.png")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.tabs.addTab(self.calibrationTab, icon7, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabs)
        self.consoleLabel = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.consoleLabel.setFont(font)
        self.consoleLabel.setTextFormat(QtCore.Qt.AutoText)
        self.consoleLabel.setObjectName(_fromUtf8("consoleLabel"))
        self.verticalLayout_2.addWidget(self.consoleLabel)
        self.consoleVerticalLayout = QtGui.QVBoxLayout()
        self.consoleVerticalLayout.setObjectName(_fromUtf8("consoleVerticalLayout"))
        self.consoleScrollArea = QtGui.QScrollArea(self.centralwidget)
        self.consoleScrollArea.setEnabled(True)
        self.consoleScrollArea.setMouseTracking(False)
        self.consoleScrollArea.setWidgetResizable(True)
        self.consoleScrollArea.setObjectName(_fromUtf8("consoleScrollArea"))
        self.consoleScrollAreaWidgetContents = QtGui.QWidget()
        self.consoleScrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 569, 200))
        self.consoleScrollAreaWidgetContents.setObjectName(_fromUtf8("consoleScrollAreaWidgetContents"))
        self.console = QtGui.QTextEdit(self.consoleScrollAreaWidgetContents)
        self.console.setGeometry(QtCore.QRect(10, 40, 551, 151))
        self.console.setFrameShape(QtGui.QFrame.StyledPanel)
        self.console.setFrameShadow(QtGui.QFrame.Plain)
        self.console.setReadOnly(True)
        self.console.setOverwriteMode(False)
        self.console.setAcceptRichText(False)
        self.console.setObjectName(_fromUtf8("console"))
        self.clearConsoleButton = QtGui.QPushButton(self.consoleScrollAreaWidgetContents)
        self.clearConsoleButton.setGeometry(QtCore.QRect(540, 10, 21, 23))
        self.clearConsoleButton.setText(_fromUtf8(""))
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/clean.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.clearConsoleButton.setIcon(icon8)
        self.clearConsoleButton.setObjectName(_fromUtf8("clearConsoleButton"))
        self.exportConsoleButton = QtGui.QPushButton(self.consoleScrollAreaWidgetContents)
        self.exportConsoleButton.setGeometry(QtCore.QRect(510, 10, 21, 23))
        self.exportConsoleButton.setText(_fromUtf8(""))
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/Icons/resources/icons/page.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.exportConsoleButton.setIcon(icon9)
        self.exportConsoleButton.setObjectName(_fromUtf8("exportConsoleButton"))
        self.consoleScrollArea.setWidget(self.consoleScrollAreaWidgetContents)
        self.consoleVerticalLayout.addWidget(self.consoleScrollArea)
        self.verticalLayout_2.addLayout(self.consoleVerticalLayout)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.tabs.setCurrentIndex(2)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MO Controller", None, QtGui.QApplication.UnicodeUTF8))
        self.connectionButton.setText(QtGui.QApplication.translate("MainWindow", "Connect", None, QtGui.QApplication.UnicodeUTF8))
        self.portLabel.setText(QtGui.QApplication.translate("MainWindow", "Port", None, QtGui.QApplication.UnicodeUTF8))
        self.baudRateLabel.setText(QtGui.QApplication.translate("MainWindow", "Baud rate", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.connectionTab), QtGui.QApplication.translate("MainWindow", "Connection", None, QtGui.QApplication.UnicodeUTF8))
        self.directionLabel.setText(QtGui.QApplication.translate("MainWindow", "Direction", None, QtGui.QApplication.UnicodeUTF8))
        self.speedLabel.setText(QtGui.QApplication.translate("MainWindow", "Speed", None, QtGui.QApplication.UnicodeUTF8))
        self.speed0Label.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.speed1Label.setText(QtGui.QApplication.translate("MainWindow", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.speed2Label.setText(QtGui.QApplication.translate("MainWindow", "2", None, QtGui.QApplication.UnicodeUTF8))
        self.speed3Label.setText(QtGui.QApplication.translate("MainWindow", "3", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.robotControllerTab), QtGui.QApplication.translate("MainWindow", "Robot Controller", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.calibrationTab), QtGui.QApplication.translate("MainWindow", "Calibration", None, QtGui.QApplication.UnicodeUTF8))
        self.consoleLabel.setText(QtGui.QApplication.translate("MainWindow", "Console", None, QtGui.QApplication.UnicodeUTF8))
        self.console.setHtml(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))

import resource_rc
